INfcService

Interface definition for a service that interacts with NFC cards.

Inheritors

Types

Link copied to clipboard
open class Default : INfcService
Default implementation for INfcService.
Link copied to clipboard
abstract class Stub : Binder, INfcService
Local-side IPC implementation stub class.

Functions

Link copied to clipboard
abstract fun asBinder(): IBinder
Link copied to clipboard
Reads Mifare sectors from the NFC card.
Link copied to clipboard
abstract fun readNfcData(auth: String): CardReadResult
Reads data from the NFC card.
Link copied to clipboard
abstract fun readNfcUID(): CardReadResult
Reads the UID (Unique Identifier) of the NFC card.
Link copied to clipboard
abstract fun writeMifareSectors(writeSectorRequest: MifareSectorRequest): CardReadResult
Writes Mifare sectors to the NFC card.
Link copied to clipboard
abstract fun writeNfcData(auth: String, data: String): CardReadResult
Writes data to the NFC card.